import pygame.sprite

import random


class PrizesSprite(pygame.sprite.Sprite):
    def __init__(self, x, y):
        super(PrizesSprite, self).__init__()
        id = random.randint(1, 5)
        self.image = pygame.image.load("resources/images/prizes/prizes" + str(id) + ".png")
        self.pox_x = x
        self.pox_y = y

    def draw(self, surface, x, y):
        surface.blit(self.image, (self.pox_x - x, self.pox_y - y))

    def run(self, down_flag, key_list):
        pass
